﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="cn_member_center_my_order" Codebehind="my_order.aspx.cs" %>
  
<%@ Register Src="../UserControl/header.ascx" TagName="header" TagPrefix="uc1" %>
<%@ Register Src="../UserControl/top_ad.ascx" TagName="top_ad" TagPrefix="uc2" %>
<%@ Register Src="../UserControl/member_menu.ascx" TagName="member_menu" TagPrefix="uc3" %>
<%@ Register Src="../UserControl/footer.ascx" TagName="footer" TagPrefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>我的订单，<%=(new Gift.WebApp.BasicSet()).TitleBind() %></title>
    <meta name="Keywords" content="<%=(new Gift.WebApp.BasicSet()).KeywordBind() %>" />
    <meta name="Description" content="<%=(new Gift.WebApp.BasicSet()).DescriptionBind() %>" />
    <link href="/script/css/public.css" type="text/css" rel="stylesheet" />
    <link href="/script/css/member.css" type="text/css" rel="stylesheet" />
    <link href="/script/css/ie.css" type="text/css" rel="stylesheet" />

    <script language="Javascript" type="text/javascript" src="/script/js/jquery-1.6.2.min.js"></script>

    <!--登陆注册 弹出窗口-->
    <style type="text/css" media="all">
        @import "/script/js/login/thickbox.css";
    </style>

    <script src="/script/js/login/thickbox.js" type="text/javascript"></script>
    
    <!-- 头部全部分类 三级导航-->

    <script type="text/javascript" src="/script/js/allmenu.js"></script>
    
     <link href="/script/art_dialog/skins/idialog.css" rel="stylesheet" />

    <script type="text/javascript" src="/script/art_dialog/artDialog.js"></script>

    <script type="text/javascript" src="/script/art_dialog/plugins/iframeTools.source.js"></script>

    <script type="text/javascript" src="/script/js/art_dialog.js"></script>
    
    <script type="text/javascript">
        function aConfirm(orderNo) {
            art.dialog({
                id: 'testID',
                content: '您确定已收到货物了吗？',
                lock: true,
                fixed: true,
                opacity: 0.1,
                button: [
                    {
                        name: '确定',
                        callback: function () {
                            $.ajax({
                                type: "POST",
                                url: "confirm_receiving.ashx",
                                data: "orderNo=" + orderNo,
                                success: function (msg) {
                                    window.location.reload();
                                }
                            });
                            return false;
                        },
                        focus: true
                    },
                    {
                        name: '取消',
                        callback: function () {
                            art.dialog.tips('你取消了操作');
                        }
                    }
                ]
            });
        }
    </script>

</head>
<body>
    <uc1:header ID="Header1" runat="server" />
    <uc2:top_ad ID="Top_ad1" runat="server" />
    <div class="container">
        <uc3:member_menu ID="Member_menu1" runat="server" />
        <!--end leftnav-->
        <div class="rightcontent">
            <h5>
                <strong>我的订单</strong></h5>
            <form action="my_order.html" method="get">
                <div class="orderseach">
                    订单编号：<input type="text" name="orderNo" value="<%=(Request.QueryString["orderNo"]!=null)?Request.QueryString["orderNo"]:"" %>" /><input
                        class="submit" type="submit" value="确定" /></div>
            </form>
            <table>
                <tr>
                    <th>
                        订单编号</th>
                    <th>
                        商品名称</th>
                    <th>
                        下单时间</th>
                    <th>
                        订单金额</th>
                    <th>
                        订单状态</th>
                </tr>
                <%Response.Write(GetUserOrder()); %>
            </table>
        </div>
        <!--end rightcontent-->
        <span class="clear"></span>
    </div>
    <uc4:footer ID="Footer1" runat="server" />
</body>
</html>
